package org.example;
//状态模式(接口)
//定义空调状态
public interface AirConditionerState {
    void powerOn(AirConditionerController controller, AirConditioner airConditioner);
    void powerOff(AirConditionerController controller, AirConditioner airConditioner);
    void clean(AirConditionerController controller, AirConditioner airConditioner);
    void dehumidification(AirConditionerController controller, AirConditioner airConditioner);
    void setTemperature(AirConditionerController controller, int temperature);
}
